<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新增标签</title>
<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/common.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.validate.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.tools.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/messages_cn.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/input.js"></script>
<script type="text/javascript" src="${base}/js/My97DatePicker4_8/WdatePicker.js"></script>
<script type="text/javascript" src="${base}/js/ajaxupload.js"></script>
 <!-- 引入弹出JS begin -->
<script type="text/javascript" src="${rc.getContextPath()}/js/lhgdialog/lhgdialog.min.js?self=true"></script>
<!-- 引入弹出JS end -->
 
<script>
var base = '${rc.getContextPath()}';
$().ready(function() {

	var $inputForm = $("#inputForm");
	
	// 表单验证
	$inputForm.validate({
		errorClass: "fieldError",
		rules: {
			tagName: {
				required:true
			}			
		}
	});

});


function trim(str){ 
	  return str.replace(/^\s+|\s+$/g,''); 
} 
function save(){
 
	$('#inputForm').submit();
}
function back(){
	$.dialog.tips("返回中,请稍等...",600,"loading.gif");
	window.location.href='list.html ';
}

 
</script>

<script type="text/javascript" charset="utf-8">
    window.UEDITOR_HOME_URL = "${rc.getContextPath()}/ueditor/";  //UEDITOR_HOME_URL、config、all这三个顺序不能改变
</script>
<script type="text/javascript" src="${rc.getContextPath()}/ueditor/editor_config.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/ueditor/editor_all_min.js"></script>

</head>

<body>


<div class="path">
		  <a href="#"> 新增标签</a>
	</div>
	
	<form id="inputForm" action="${base!}/storetag/admin/save.html" method="post">
 
 
		<!-- 基本功能begin -->
		<table class="input tabContent">
			<colgroup>
				<col  width="15%"/>
				<col  width="35%"/>
				<col  width="15%"/>
				<col  width="35%"/>
			</colgroup>
			<tr>
				<th>
					<span class="requiredField">*</span>标签名称:
				</th>
				<td colspan="3"  >
					 	<input  type="text"  value="" name= "tagName" id="tagName"/>
				</td>
	 
			</tr>
 

			
			</table>




         <table class="input">
			<colgroup>
				<col  width="15%"/>
				<col  width="35%"/>
				<col  width="15%"/>
				<col  width="35%"/>
			</colgroup>
			<tr>
				<td>

				</td>
				<td colspan="3">
					<input type="button" class="button" value="保存"  onclick="save()"/>
					<input type="button" id="backButton" class="button" value="返回" onclick="javascript:back()" />
				</td>
			</tr>
		</table> 
</form>





 



</body>
</html>